package cn.singleton.csl;

import java.util.concurrent.ExecutorService;
import java.util.concurrent.Executors;

/**
 * Created by siyuzhiyue on 2017/6/9.
 */
public class Test {
    public static void main(String[] args){
        /*ExecutorService exec = Executors.newCachedThreadPool();
        for(int i = 0;i<1000;i++)
            exec.execute(new PrintMessage());

        exec.shutdown();*/
        for(int i = 0;i<100;i++)
            new Thread(new PrintMessage()).start();
    }
}
